package com.qiaofang.dataprocessing.dao.impl;

import com.qiaofang.dataprocessing.dao.PropertyDao;
import com.qiaofang.dataprocessing.dao.domain.ProRightsInterests;
import com.qiaofang.dataprocessing.dao.domain.PropertyType;
import com.qiaofang.dataprocessing.dao.mapper.PropertyMapper;
import com.qiaofang.dataprocessing.stub.bean.ListVerifyCodeDTO;
import com.qiaofang.dataprocessing.stub.bean.PropertyRulesDTO;
import com.qiaofang.dataprocessing.stub.bean.response.HistoryConsignCodeDTO;
import com.qiaofang.dataprocessing.stub.bean.response.WatermarkDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/11/18 17:25
 */
@Repository("propertyDao")
public class PropertyDaoImpl implements PropertyDao {
    @Autowired
    private PropertyMapper propertyMapper;

    @Override
    public List<String> getUpPropertyUuidList(PropertyRulesDTO propertyRules) {
        return propertyMapper.getUpPropertyUuidList(propertyRules);
    }

    @Override
    public List<ProRightsInterests> getProRightsInterests(Date timing) {
        return propertyMapper.getProRightsInterests(timing);
    }

    @Override
    public List<ListVerifyCodeDTO> getPropertFieldyByParam() {
        return propertyMapper.getPropertFieldyByParam();
    }

    @Override
    public List<HistoryConsignCodeDTO> getHistoryConsignCode() {
        return propertyMapper.getHistoryConsignCode();
    }

    @Override
    public List<PropertyType> getPropertyTypeList(Date timing) {
        return propertyMapper.getPropertyTypeList(timing);
    }

    @Override
    public List<WatermarkDTO> getPropertyImgWatermark() {
        return propertyMapper.getPropertyImgWatermark();
    }
}
